package com.shsmi.jc.seed.service;

import com.shsmi.jc.seed.entity.MapInstance;
import com.shsmi.jc.seed.exception.MyException;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface MapInstanceService {
    Page<MapInstance> listAll(Example<MapInstance> example, Pageable pageable);
    MapInstance getById(Long id) throws MyException;

    MapInstance insert(MapInstance record);

    MapInstance update(MapInstance record);

    void delete(Long id);
}
